package cn.stylefeng.guns.modular.team.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 班级阶段
 * </p>
 *
 * @author CHENCHEN
 * @since 2022-07-21
 */
@TableName("team_stage")
public class TeamStage implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 班级ID
     */
    @TableField("team_id")
    private Long teamId;

    /**
     * 阶段ID
     */
    @TableField("stage_id")
    private Long stageId;

    /**
     * 进入阶段时间
     */
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Long getStageId() {
        return stageId;
    }

    public void setStageId(Long stageId) {
        this.stageId = stageId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TeamStage{" +
        "id=" + id +
        ", teamId=" + teamId +
        ", stageId=" + stageId +
        ", createTime=" + createTime +
        "}";
    }
}
